<!--# include Template('header'); #-->
<!--header----main-->
<script language="javascript" src="script/veryflash.js"></script>
<div class="main">
  <!--area-1-->
  <div class="area-1">
		<div class="area-1-bot">
			<div class="area-1-top">
        <div id="system" class="area-1-content">
          <div class="area-1-left">
            <div class="right">
              <h2>精华</h2>
				<!-- 头条新闻 -->
<!--#$array=$cms::thread("mid:1;num:9;digest:2");#-->
              <ul class="list">
<!--#foreach($array as $val){#-->
                <li><a href="$val[url]" target="_blank" style="color:$val[titlecolor]">{@substrs($val[title],40)@}</a></li>
<!--#}#-->
              </ul>
            </div>
            <div class="left">
	<div class="pic-player">
		<DIV id=focus class="img">
			<OBJECT id='focusFlash1' height=180 width=230 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000>
				<PARAM NAME="_cx" VALUE="6085">
				<PARAM NAME="_cy" VALUE="4763">
				<PARAM NAME="FlashVars" VALUE="">
				<PARAM NAME="Movie" VALUE="images/very.swf">
				<PARAM NAME="Src" VALUE="images/very.swf">
				<PARAM NAME="WMode" VALUE="Opaque">
				<PARAM NAME="Play" VALUE="0">
				<PARAM NAME="Loop" VALUE="-1">
				<PARAM NAME="Quality" VALUE="High">
				<PARAM NAME="SAlign" VALUE="T">
				<PARAM NAME="Menu" VALUE="-1">
				<PARAM NAME="Base" VALUE="">
				<PARAM NAME="AllowScriptAccess" VALUE="">
				<PARAM NAME="Scale" VALUE="ShowAll">
				<PARAM NAME="DeviceFont" VALUE="0">
				<PARAM NAME="EmbedMovie" VALUE="0">
				<PARAM NAME="BGColor" VALUE="FFFFFF">
				<PARAM NAME="SWRemote" VALUE="">
				<PARAM NAME="MovieData" VALUE="">
				<PARAM NAME="SeamlessTabbing" VALUE="1">
				<PARAM NAME="Profile" VALUE="0">
				<PARAM NAME="ProfileAddress" VALUE="">
				<PARAM NAME="ProfilePort" VALUE="0">
				<PARAM NAME="AllowNetworking" VALUE="all">
				<PARAM NAME="AllowFullScreen" VALUE="false">
			</OBJECT>
		</DIV>
		<div id="text"></div>
		<!-- 头条图片 -->
		<script language="javascript">
<!--#$array=$cms::thread("mid:1;num:5;digest:3;where:photo!='';");#-->
<!--#
foreach($array as $val){
$pics[] = miniImg($val[photo],230,180);
$links[] = str_replace('&','%26',$val[url]);
}
$flashpics = implode('|',$pics);
$flashlinks = implode('|',$links);
#-->
var pics='$flashpics';
var links='$flashlinks';
var texts='';

var focusFlash = new veryFlash("images/very.swf","focusFlash1","230","180","5","#ffffff");
focusFlash.addParam("quality", "high");
focusFlash.addParam("salign", "t");
focusFlash.addParam("wmode", "opaque");
focusFlash.addVariable("pics",pics);
focusFlash.addVariable("links",links);
focusFlash.addVariable("texts",texts);
focusFlash.write("focus")

//-->
</script>
	</div>
</div>

          </div>
          <div class="area-1-right">
<!--#$array=$cms::thread("num:1;digest:3;mid:1;where:photo=''");
foreach($array as $val){#-->
            <div class="left">
              <h2>
                <div class="gray fs12 fwn">话题</div>
                <a href="$val[url]" target="_blank">$val[title]</a></h2>
              <div class="text gray">{@substrs(strip_tags($val[content]),200)@}
                <div class="more"><a href="$val[url]">[全文]</a></div>
              </div>
            </div>
<!--#}#-->
            <div class="right">
              <h3>公告</h3>
              <div class="notebg">
                
<!--# $array = $cms::notice(1);
foreach($array as $val){
	$firstnotice=substrs($val[content],200);
	$firstnotice=htmlbalance($firstnotice);
#-->
				<p>{@$firstnotice@}</p>
				<div class="more"><a href="$val[url]" target="_blank">[详细]</a></div>
<!--#}#-->
				
                
                <ul class="note">
<!--# $array=$cms::notice(2,4);
foreach($array as $val){
#-->
                  <li><a href="$val[url]" target="_blank">{@substrs($val[title],20)@}</a></li>
<!--#}#-->
                </ul>
                <div class="more"><a href="notice.php" target="_blank">[更多公告]</a></div>
              </div>
            </div>
          </div>
        </div>
<!--#if($very[aggrebbs]){#-->
<div class="clear"></div>
        <div id="forum" class="area-1-content">
          <div class="area-1-left">
            <div class="right">
              <h2><a href="$very[bbs_url]" class="fr enter"><img src="images/enter.png" /></a>论坛<span class="fwn">精华</span></h2>
<!--#$array=$bbs::article(9,'digest');#-->
              <ul class="list">
<!--# foreach($array as $val){#-->
                <li><a href="$val[url]" target="_blank">{@substrs($val[title],40)@}</a></li>
<!--# }#-->
              </ul>
            </div>
            <div class="left">
              <div id="forumtop">
                <table width="100%" border="0">
                  <tr>
                    <th width="40%" class="green">会员排行</th>
                    <th width="60%" class="pink lb">板块排行</th>
                  </tr>
                  <tr>
                    <td><ol class="gray">
<!--# $array=$bbs::user(10,$very[bbs_membersort]);
foreach($array as $val){#-->
                        <li><a href="$val[url]" target="_blank">{@substrs($val[title],20)@}</a></li>
<!--#}#-->
                      </ol></td>
                    <td class="lb"><ol>
<!--# $array=$bbs::forum(10,$very[bbs_forumsort]);
foreach($array as $val){#-->
                        <li><a href="$val[url]" target="_blank">{@substrs($val[title],20)@}</a></li>
<!--#}#-->
                      </ol></td>
                  </tr>
                </table>
              </div>
            </div>
          </div>
          <div class="area-1-right">
            <div class="left">
              <h2 class="btb">
                <div class="gray fs12 fwn">论坛热图</div>
              </h2>
              <div class="pic-show">
<!--# $array = $bbs::image(4);
foreach($array as $val){#-->
                <dl class="pic">
                  <dd>
                    <div><a href="$val[url]" target="_blank" title="$val[title]"><img src="{@miniimg($val[photo],75,75)@}" height="75" width="75" /></a></div>
                  </dd>
                  <dt>{@substrs($val[title],12)@}</dt>
                </dl>
<!--#}#-->
              </div>
            </div>
            <div class="right">
              <div class="diy"><script language="javascript"  src="script/verycms/left.js?cid=$cid&tid=$tid"></script></div>
            </div>
          </div>
        </div>
<!--#}#-->
<!--#if($very[aggreblog]){#-->
<div class="clear"></div>
        <div id="blog" class="area-1-content">
          <div class="area-1-left">
            <div class="right">
              <h2><a href="$very[blog_url]" class="fr enter"><img src="images/enter.png" /></a>博客<span class="fwn">精华</span></h2>
<!--#$array=$blog::weblog(9);#-->
              <ul class="list">
<!--# foreach($array as $val){#-->
                <li><a href="$val[url]" target="_blank">{@substrs($val[title],40)@}</a></li>
<!--# }#-->
              </ul>
            </div>
            <div class="left">
              <div id="forumtop">
                <table width="100%" border="0">
                  <tr>
                    <th width="40%" class="green">写手排行</th>
                    <th width="60%" class="pink lb">热门标签</th>
                  </tr>
                  <tr>
                    <td><ol class="gray">
<!--# $array=$blog::user(10,$very[blog_membersort]);
foreach($array as $val){#-->
                        <li><a href="$val[url]" target="_blank">{@substrs($val[title],20)@}</a></li>
<!--#}#-->
                      </ol></td>
                    <td class="lb"><ol>
<!--# $array=$blog::tags(10,$very[blog_tagsort]);
foreach($array as $val){#-->
                        <li><a href="$val[url]" target="_blank">{@substrs($val[title],20)@}</a></li>
<!--#}#-->
                      </ol></td>
                  </tr>
                </table>
              </div>
            </div>
          </div>
          <div class="area-1-right">
            <div class="left">
              <h2 class="btb">
                <div class="gray fs12 fwn">博客热图</div>
              </h2>
              <div class="pic-show">
<!--# $array = $blog::image(4);
foreach($array as $val){#-->
                <dl class="pic">
                  <dd>
                    <div><a href="$val[url]" target="_blank" title="$val[title]"><img src="{@miniimg($val[photo],75,75)@}" height="75" width="75" /></a></div>
                  </dd>
                  <dt>{@substrs($val[title],15)@}</dt>
                </dl>
<!--#}#-->
              </div>
            </div>
            <div class="right">
              <div class="diy"><script language="javascript"  src="script/verycms/left.js?cid=$cid&tid=$tid"></script>
             </div>
            </div>
          </div>
        </div>
<!--#}#-->
      </div>
    </div>
  </div>
  <!--area-1-->
  <div class="clear"></div>
  <div class="ad2" style="margin-top:.2em 0">
  <script language="javascript"  src="script/verycms/mid.js?cid=$cid&tid=$tid"></script></div>
  <!--area-2-->
  <div class="area-2-wrap">
    <div class="area-2">
<!--# 
$i=0;
$total = count($discate);
foreach($discate as $cid){
$i++;
$class = $i%3==0 ? 'box2' : 'box1';
$class2='area-2-bot-m';
if($i%3==1){
if($total-$i<3){$class2='area-2-bot';}
#-->
      <div class="$class2">
<!--#}#-->
        <div class="$class">
          <h2 class="blue"><a href="{$catedb[$cid][listurl]}" class="fr enter"><img src="images/enter.png" /></a>{$catedb[$cid][cname]}</h2>
<!--#$array=$cms::thread("mid:{$catedb[$cid][mid]};cid:all-$cid;num:1;where:photo!='';");
foreach($array as $val){#-->
		  <div class="pic left"><a href="$val[url]"><img src="{@miniimg($val[photo],75,75)@}" width="75" height="75" alt="$val[title]"/></a></div>
<!--#}#-->
          <ul class="list1 left">
<!--#$array = $cms::thread("mid:{$catedb[$cid][mid]};cid:all-$cid;num:4;");
foreach($array as $val){#-->
            <li><a href="$val[url]" target="_blank">{@substrs($val[title],30)@}</a></li>
<!--#}#-->
          </ul>
<div class="clear"></div>
              <ul class="list">
<!--#$array = $cms::thread("mid:{$catedb[$cid][mid]};cid:all-$cid;num:4,6;");
foreach($array as $val){#-->
                <li><em>[{@get_date($val[postdate],'m-d')@}]</em><a href="$val[url]" target="_blank">{@substrs($val[title],36)@}</a></li>
                <!--#}#-->
              </ul>
        </div>
<!--#if($i%3==0 || $i==count($catedb)){#-->
</div>
<!--#}}#-->
    </div>
  </div>
  <!---area2----friends-->
  <div id="friends">
  
  </div>
</div>
<div class="clear"></div>
<!---main----foot-->
<!--# include Template('foot'); #-->